﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FJASPX.Framwork.Model;

namespace FJASPX.Framwork.Dao
{
    public interface IEntityDao<T> where T : Entity
    {
        T Get(object id);
        IList<T> GetAll();
        void Insert(T o);
        void Update(T o);
        void Delete(T o);
        void DeleteById(object id);
    }
}
